<div ng-controller="joinController">
    <!--banner-->
    <div class="banner joinbanner">
        <div class="joinMsg">
            <h2 class="text-center">抓住微信小程序新机遇</h2>
            <span>
任何人如果要抓住微信小程序这一机遇，就必须先要拥有自己的小程序。<br>

如果因此错失未来微信小程序推出的这一良机，是非常可惜的。<br>

关爱帮现在面向全国招募代理，与我们一起快速打开全国市场。
        	</span>
        </div>
    </div>
    <!--banner-->
    <div class="container">
        <!--适用商户-->
        <div class="merchants">
            <p class="chan-title">适用商户</p>
            <p class="chan-dertion">全行业适用，抢占万亿市场先机</p>
            <div class="deaton-coint">
                <ul class="coiul">
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply1.png" class="ply-icon">
                        <p class="colname">餐饮服务</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply2.png" class="ply-icon">
                        <p class="colname">美容养生</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply3.png" class="ply-icon">
                        <p class="colname">服装鞋帽</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply4.png" class="ply-icon">
                        <p class="colname">教育培训</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply5.png" class="ply-icon">
                        <p class="colname">汽车服务</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply6.png" class="ply-icon">
                        <p class="colname">礼品鲜花</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply7.png" class="ply-icon">
                        <p class="colname">水果生鲜</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply8.png" class="ply-icon">
                        <p class="colname">数码家电</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply9.png" class="ply-icon">
                        <p class="colname">医疗健康</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply10.png" class="ply-icon">
                        <p class="colname">蛋糕烘培</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply11.png" class="ply-icon">
                        <p class="colname">日用百货</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply12.png" class="ply-icon">
                        <p class="colname">美妆</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply13.png" class="ply-icon">
                        <p class="colname">茶饮酒水</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply14.png" class="ply-icon">
                        <p class="colname">亲子母婴</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply15.png" class="ply-icon">
                        <p class="colname">图书音像</p>
                    </li>
                    <li class="coilis col-xs-3 col-sm-2">
                        <img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/ply16.png" class="ply-icon">
                        <p class="colname">更多</p>
                    </li>
                </ul>
            </div>
            <p class="joinweike">已有几百家加入微客小程序</p>
            <!-- <a href="http://wpa.qq.com/msgrd?v=3&uin=1040727664&menu=yes" class="now-join">立即加盟</a> -->
            <a href="http://wpa.qq.com/msgrd?v=3&uin={{compangyData.qq}}&site=qq&menu=yes" target="_blank" class="now-join">立即加盟</a>
        </div>
    </div>
    <!--小程序模板展示-->
    <div class="row-n">
        <div class="container">
            <div class="routine-temps hidden-xs">
                <h1 class="centera c2">小程序模板展示</h1>
                <p class="c3 centera tit_p-new">数百款各行各业模板 , 让你三分钟快速搭建小程序</p>
                <div class="swiper-container">
                    <div class="swiper-wrapper">

                    </div>
                    <div class="swiper-button-prev" style="display:none;"></div> <!-- 黑色 -->
                    <div class="swiper-button-next" style="display:none;"></div> <!-- 白色 -->
                </div>
                <div class="framing"></div>

                <div class="swiper-prev"></div> <!-- 黑色 -->
                <div class="swiper-next"></div> <!-- 白色 -->
                <!--<a class="button-m lookTemp">查看更多模板</a>-->
            </div>
            <div class="routine-temps hidden-md hidden-sm hidden-lg">
                <h1 class="centera c2">小程序模板展示</h1>
                <p class="c3 centera tit_p-new">数百款各行各业模板 , 让你三分钟快速搭建小程序</p>
                <div class="swiper-container" id="swiper-container1">
                    <div class="swiper-wrapper">

                    </div>
                    <!-- Add Arrows -->
                    <div class="swiper-button-prev" style="display:none;"></div> <!-- 黑色 -->
                    <div class="swiper-button-next" style="display:none;"></div> <!-- 白色 -->
                </div>
                <div class="framing"></div>

                <div class="swiper-prev"></div> <!-- 黑色 -->
                <div class="swiper-next"></div> <!-- 白色 -->
            </div>
        </div>

    </div>



    <!--代理加盟流程-->
    <div class="routine">
        <div class="container">
            <h1 class="centera c2">代理商加盟方式</h1>
            <p class="c3 centera tit_p-new">有任何客户资源的行业都可以欢迎您来加盟合作</p>
            <div class="routine-infos">
                <div class="routine-info" border-class="yelloworange">
                    <div class="replace replace8"><img class="ico" src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/smallshop.png"></div>
                    <!--<div style="width: 100px; position: absolute; top: 0; right: -9px;"><img src="images/hot.png"></div>-->
                    <h1 class="routine-info-title">小城市</h1>
                    <!-- <div class="desc">帮助门店快速实现线上开店，解决线上推广引流到店、支付购买和线下体验服务等门店问题。</div>
                    <ul class="details clearfix">
                        <span>
                            帮助门店快速实现线上开店，解决线上推广引流到店，支付购买和线下体验服务等问点问题。
                        </span>
                    </ul> -->
                    <div class="originaPrice">1-5万<span class="year"></span></div>
                </div>
                <div class="routine-info" border-class="skyblue">
                    <div class="replace replace9"><img class="ico" src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/shopplus.png"></div>
                    <!--<div style="width: 100px; position: absolute; top: 0; right: -9px;"><img src="images/tuijian.png"></div>-->
                    <h1 class="routine-info-title">大城市</h1>
                    <!-- <div class="desc">商城版加强版，数十种推广促销工具,百余种组合营销模式,为企业提供了一整套电商解决方案。</div>
                    <ul class="details clearfix pd-10">
                       <span>
                           商城版加强版，数十种推广促销工具,百余种组合营销模式,为企业提供了一整套电商解决方案。
                       </span>
                    </ul> -->
                    <div class="originaPrice">3-20万<span class="year"></span></div>
                </div>
                <div class="routine-info" border-class="green">
                    <div class="replace replace3"><img class="ico" src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/shop.png"></div>
                    <h1 class="routine-info-title">0折</h1>
                    <!-- <div class="desc">集购买、支付、会员、财务、分销、卡劵等于一体的小程序商城，让商家轻松打通线上线下。</div>
                    <ul class="details clearfix">
                        <span>
                            集购买、支付、会员、财务、分销、卡劵等于一体的小程序商城，让商家轻松打通线上线下。
                        </span>
                    </ul> -->
                    <div class="originaPrice">5万<span class="year">/年</span></div>
                </div>
                <div class="routine-info" border-class="pink">
                    <div class="replace replace2">
                        <img class="ico" src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/c2.png">
                    </div>
                    <h1 class="routine-info-title">合作洽谈</h1>
                    <!-- <div class="desc">企业官网小程序，主要用于企业品牌展示、产品介绍、新闻发布等，是企业的网络宣传名片。</div>
                    <ul class="details clearfix">
                       <span>
                           企业官网小程序，主要用于企业品牌展示、产品介绍、新闻发布等，是企业的网络宣传名片。
                       </span>
                    </ul> -->
                    <div class="originaPrice">洽谈</div>
                </div>
            </div>
            <!--留言-->
        </div>
        <div class="container">
            <div class="message-wrapper">
                <div class="message-item hidden-xs">
                    <div class="message-title">
                        <p class="message-sub-title" style="text-align: left;line-height: 2em; font-size: 18px;"><span>加盟条件</span></p>
                        <p class="message-sub-join" style="text-align: left;line-height: 2em;color: rgb(227, 108, 9);"><span>JOIN CONDITIONS</span></p>
                        <p style="line-height: 2em;"><br></p>
                        <hr>
                        <p style="line-height: 2em;"><br></p>
                        <p style="line-height: 2em;">1、可以独立承担民事责任的个人或企事业单位<br></p>
                        <p style="line-height: 2em;">2、具有客户资源优势和持续拓展市场的能力</p>
                        <p style="line-height: 2em;">3、可以为用户提供必要的建站技术服务与咨询服务</p>
                        <p style="line-height: 2em;">注：企业服务行业、IT行业、广告及印刷行业、办公设备行业机构组织或其他自有客户资源的行业都欢迎可以加盟合作！</p>
                        <p style="line-height: 2em;"><br></p>
                        <p style="line-height: 3em;">
                            <img src="http://agent.72e.net/comdata/20180459/201805/20180502092452ba4d72.jpg"
                                 _src="http://agent.72e.net/comdata/20180459/201805/20180502092452ba4d72.jpg" style="background: none;width: 100%;height: 100%;">
                        </p>
                    </div>
                </div>
                <div class="message-item">
                    <div class="message-input-wrapper">
                        <div class="message-input-content">
                            <form novalidate>
                                <ul style="text-align:left;">
                                    <li class="customFormFieldItem formList-content">
                                        <p class="in-formList">
                                        <span class="Describ-text-color content-title">
                                            公司名称<span style="color: red">*</span>
                                        </span>
                                            <input ng-model="company.companyname" required class="customFormText input-text-color" type="text" name="col62833" chname="公司名称" >
                                        </p>
                                        
                                    </li>
                                    <li class="customFormFieldItem formList-content">
                                        <p class="in-formList">
                                        <span class="Describ-text-color content-title">
                                            联系人<span style="color: red">*</span>
                                        </span>
                                            <input ng-model="company.name" required class="customFormText input-text-color" type="text" name="col62834" chname="联系人">
                                        </p>
                                    </li>
                                    <li class="customFormFieldItem formList-content">
                                        <p class="in-formList">
                                        <span class="Describ-text-color content-title">
                                            联系电话<span style="color: red">*</span>
                                        </span>
                                            <input ng-model="company.phone" required class="customFormText input-text-color" type="text" name="col62835" chname="联系电话">
                                        </p>
                                    </li>
                                    <li class="customFormFieldItem formList-content">
                                        <p class="in-formList">
                                        <span class="Describ-text-color content-title">
                                            联系人微信<span style="color: red">*</span>
                                        </span>
                                            <input ng-model="company.wechat" required class="customFormText input-text-color" type="text" name="col62836" chname="联系人微信">
                                        </p>
                                    </li>
                                    <li class="customFormFieldItem formList-content formList-content-no-border formList-content-widthauto">
                                        <div class="Pc-formList-content">
                                        <span class="Describ-text-color content-title content-title-checkbox">
                                            申请意向（代理级别和合伙人）<span style="color: red">*</span>
                                        </span>
                                            <p class="clear_x in-formList-checkbox">
                                                <label>
                                                    <input checked ng-model="company.type.jinpai" ng-click="checkSelect($event,company.type.jinpai,'金牌代理')" type="checkbox" class="customFormCheckbox"  value="金牌代理">金牌代理
                                                </label>
                                                <label>
                                                    <input ng-model="company.type.zhuanshi" ng-click="checkSelect($event,company.type.jinpai,'钻石代理')" type="checkbox" class="customFormCheckbox"  value="钻石代理">钻石代理
                                                </label>
                                                <label>
                                                    <input ng-model="company.type.jinshi" ng-click="checkSelect($event,company.type.jinpai,'金钻代理')" type="checkbox" class="customFormCheckbox" name="col62837[]" chname="申请意向（代理级别和合伙人）" value="金钻代理">金钻代理
                                                </label>
                                                <label>
                                                    <input ng-model="company.type.hehuo" ng-click="checkSelect($event,company.type.jinpai,'合伙人')" type="checkbox" class="customFormCheckbox" name="col62837[]" chname="申请意向（代理级别和合伙人）"  value="合伙人">合伙人
                                                </label>
                                            </p>
                                        </div>
                                    </li>
                                    <li class="customFormFieldItem formList-content formList-content-no-style">
                                        <p>
                                            <span class="Describ-text-color content-title">留言<span style="color:red">*</span></span>
                                            <textarea ng-model="company.message" required class="customFormTextarea multi-row-text input-text-color" name="col62838" chname="留言" isrequire="1" fieldtype="2" validatetype="1"></textarea>
                                        </p>
                                    </li>
<!--                                     <li class="customFormFieldItem formList-content formList-content-no-border">
                                        <p class="VerificationCodeinputWb">
                                            <span class="Describ-text-color content-title">验证码</span>
                                            <input class="input-text-color input-text-checking" type="text" name="vCode" chname="验证码" isrequire="1" fieldtype="1" validatetype="1">
                                        </p>
                                        <img class="VerificationCode vCodeImg" src="images/index.png">
                                        <span class="changebtn refreshVCode">看不清？换一张</span>
                                    </li> -->
                                    <li class="formList-content">
                                        <p type="button" value="立即申请" ng-click="saveJoin()" class="customFormSubmit submitbtn submibtn-color" btntext="立即申请">立即申请</p>
                                    </li>
                                </ul>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="js/swiper.min.js"></script>
<script>
    var titles = ['欣中式','特价砖网','俄罗斯海产品','简纳斯整体门窗','佛山市硕泰机械','传德记艾灸','家居荟','南宁高铂门窗','韵枫胶黏带','慕卡索母婴用品旗舰店','美发门店','健身房','美容门店','培训行业','焊接设备机器人'],$lis='',$sildes='';
    (function($){
        // debugger
        $('.routine-info').hover(function(){
            $(this).addClass($(this).attr('border-class'))
        },function(){
            $(this).removeClass($(this).attr('border-class'))
        })
        if(window.innerWidth<768){
            for(var i=0;i<titles.length;i++){
                $lis += '<li class="items" style="' + (i >= 5 ? 'margin-top:47px;' : '') + '"><div style="background-image:url(http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/' + (i + 1) + '.jpg);' +
                    'background-size:cover;background-repeat:no-repeat;background-position:center"><div class="shadow"></div><img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/' + (i + 1) + '_' + (i + 1) + '.jpg"></div><p style="margin-top: 10px;color:#666;">' + titles[i] + '</p></li>'
                if(i>0 && i<=10){
                    $sildes += '<div class="swiper-slide" style="padding-left: 109px;transform:rotate"><div style="background-image:url(http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/'+i+'.png);background-position:center;background-size:cover;background-repeat:no-repeat;width:227px;height:405px;margin:0 auto;"/></div>'
                }
            }
        }else{
            for(var i=0;i<titles.length;i++){
                $lis += '<li class="items" style="' + (i >= 5 ? 'margin-top:47px;' : '') + '"><div style="background-image:url(http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/' + (i + 1) + '.jpg);background-size:cover;background-repeat:no-repeat;background-position:center"><div class="shadow">' +
                    '</div><img src="http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/' + (i + 1) + '_' + (i + 1) + '.jpg"></div><p style="margin-top: 10px;color:#666;">' + titles[i] + '</p></li>'
                if(i>0 && i<=10){
                    $sildes += '<div class="swiper-slide"><div style="background-image:url(http://guanaibang.oss-cn-shenzhen.aliyuncs.com/guanaibang/images/'+i+'.png);background-position:center;background-size:cover;background-repeat:no-repeat;width:227px;height:405px;margin:0 auto;"/></div>'
                }
            }
        }

        $('.routineDemos>ul').append($lis);
        $('.swiper-wrapper').append($sildes);
        if(window.innerWidth<768){

            var SwiperLoop = new Swiper('.swiper-container', {
                autoplay: 3000, 
                speed: 500,
                grabCursor : true,
                loop: true,
                effect : 'coverflow',
                // slidesPerView: 4,
                // //spaceBetween : 20,
                centeredSlides: true,
                prevButton:'.swiper-button-prev',
                nextButton:'.swiper-button-next',
                coverflow: {
                    rotate: 0,
                    stretch: 0,
                    depth: 70,
                    modifier: 4,
                    slideShadows : true
                },
                onInit:function(swiper){
                    // debugger
                    $('.framing').css('opacity','1');
                    $('.swiper-prev').off().on('click',function(){
                        $(swiper.prevButton).click()
                    })
                    $('.swiper-next').off().on('click',function(){
                        $(swiper.nextButton).click();
                    })
                }
            });
        }else{

            var SwiperLoop = new Swiper('.swiper-container', {
                autoplay: 3000,
                speed: 500,
                grabCursor : true,
                loop: true,
                effect : 'coverflow',
                slidesPerView: 4,
                spaceBetween : 20,
                centeredSlides: true,
                prevButton:'.swiper-button-prev',
                nextButton:'.swiper-button-next',
                coverflow: {
                    rotate: 0,
                    stretch: 0,
                    depth: 70,
                    modifier: 4,
                    slideShadows : false
                },
                onInit:function(swiper){
                    $('.framing').css('opacity','1');
                    $('.swiper-prev').off().on('click',function(){
                        $(swiper.prevButton).click()
                    })
                    $('.swiper-next').off().on('click',function(){
                        $(swiper.nextButton).click();
                    })
                }
            });
        }

    })(jQuery)

</script>